.class public Lcom/waiqin365/lightapp/a/b;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/lightapp/a/c;


# static fields
.field public static final a:[Ljava/lang/String;


# instance fields
.field private b:I

.field private c:I

.field private d:Ljava/lang/String;

.field private e:Ljava/lang/String;

.field private f:Ljava/lang/String;

.field private g:Ljava/lang/String;


# direct methods
.method static constructor <clinit>()V
    .locals 3

    const/16 v0, 0xc

    new-array v0, v0, [Ljava/lang/String;

    const/4 v1, 0x0

    const-string/jumbo v2, "Jan"

    aput-object v2, v0, v1

    const/4 v1, 0x1

    const-string/jumbo v2, "Feb"

    aput-object v2, v0, v1

    const/4 v1, 0x2

    const-string/jumbo v2, "Mar"

    aput-object v2, v0, v1

    const/4 v1, 0x3

    const-string/jumbo v2, "Apr"

    aput-object v2, v0, v1

    const/4 v1, 0x4

    const-string/jumbo v2, "May"

    aput-object v2, v0, v1

    const/4 v1, 0x5

    const-string/jumbo v2, "Jun"

    aput-object v2, v0, v1

    const/4 v1, 0x6

    const-string/jumbo v2, "Jul"

    aput-object v2, v0, v1

    const/4 v1, 0x7

    const-string/jumbo v2, "Aug"

    aput-object v2, v0, v1

    const/16 v1, 0x8

    const-string/jumbo v2, "Sep"

    aput-object v2, v0, v1

    const/16 v1, 0x9

    const-string/jumbo v2, "Oct"

    aput-object v2, v0, v1

    const/16 v1, 0xa

    const-string/jumbo v2, "Nov"

    aput-object v2, v0, v1

    const/16 v1, 0xb

    const-string/jumbo v2, "Dec"

    aput-object v2, v0, v1

    sput-object v0, Lcom/waiqin365/lightapp/a/b;->a:[Ljava/lang/String;

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;IILjava/lang/String;)V
    .locals 7

    const/4 v6, 0x0

    move-object v0, p0

    move-object v1, p1

    move-object v2, p2

    move v3, p3

    move v4, p4

    move-object v5, p5

    invoke-direct/range {v0 .. v6}, Lcom/waiqin365/lightapp/a/b;-><init>(Landroid/content/Context;Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)V

    return-void
.end method

.method public constructor <init>(Landroid/content/Context;Ljava/lang/String;IILjava/lang/String;Ljava/lang/String;)V
    .locals 2

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput p3, p0, Lcom/waiqin365/lightapp/a/b;->b:I

    iput p4, p0, Lcom/waiqin365/lightapp/a/b;->c:I

    iput-object p5, p0, Lcom/waiqin365/lightapp/a/b;->d:Ljava/lang/String;

    iput-object p6, p0, Lcom/waiqin365/lightapp/a/b;->e:Ljava/lang/String;

    sget-object v0, Lcom/waiqin365/base/login/fragment/activity/LanguageSettingActivity;->c:Ljava/lang/String;

    sget-object v1, Lcom/waiqin365/base/login/fragment/activity/LanguageSettingActivity;->b:Ljava/lang/String;

    invoke-static {p1, v0, v1}, Lcom/fiberhome/gaea/client/d/a;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/a/b;->f:Ljava/lang/String;

    iput-object p2, p0, Lcom/waiqin365/lightapp/a/b;->g:Ljava/lang/String;

    return-void
.end method


# virtual methods
.method public a()I
    .locals 2

    iget v0, p0, Lcom/waiqin365/lightapp/a/b;->c:I

    iget v1, p0, Lcom/waiqin365/lightapp/a/b;->b:I

    sub-int/2addr v0, v1

    add-int/lit8 v0, v0, 0x1

    return v0
.end method

.method public a(I)Ljava/lang/String;
    .locals 5

    if-ltz p1, :cond_4

    invoke-virtual {p0}, Lcom/waiqin365/lightapp/a/b;->a()I

    move-result v0

    if-ge p1, v0, :cond_4

    iget v0, p0, Lcom/waiqin365/lightapp/a/b;->b:I

    add-int/2addr v0, p1

    const-string/jumbo v1, "tag_month"

    iget-object v2, p0, Lcom/waiqin365/lightapp/a/b;->g:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    sget-object v1, Lcom/waiqin365/base/login/fragment/activity/LanguageSettingActivity;->a:Ljava/lang/String;

    iget-object v2, p0, Lcom/waiqin365/lightapp/a/b;->f:Ljava/lang/String;

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_0

    if-lez v0, :cond_0

    sget-object v1, Lcom/waiqin365/lightapp/a/b;->a:[Ljava/lang/String;

    array-length v1, v1

    if-gt v0, v1, :cond_0

    sget-object v1, Lcom/waiqin365/lightapp/a/b;->a:[Ljava/lang/String;

    add-int/lit8 v0, v0, -0x1

    aget-object v0, v1, v0

    :goto_0
    return-object v0

    :cond_0
    iget-object v1, p0, Lcom/waiqin365/lightapp/a/b;->d:Ljava/lang/String;

    if-eqz v1, :cond_2

    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    iget-object v2, p0, Lcom/waiqin365/lightapp/a/b;->d:Ljava/lang/String;

    const/4 v3, 0x1

    new-array v3, v3, [Ljava/lang/Object;

    const/4 v4, 0x0

    invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;

    move-result-object v0

    aput-object v0, v3, v4

    invoke-static {v2, v3}, Ljava/lang/String;->format(Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v0, p0, Lcom/waiqin365/lightapp/a/b;->e:Ljava/lang/String;

    if-nez v0, :cond_1

    const-string/jumbo v0, ""

    :goto_1
    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/a/b;->e:Ljava/lang/String;

    goto :goto_1

    :cond_2
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    invoke-static {v0}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v1

    iget-object v0, p0, Lcom/waiqin365/lightapp/a/b;->e:Ljava/lang/String;

    if-nez v0, :cond_3

    const-string/jumbo v0, ""

    :goto_2
    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    goto :goto_0

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/a/b;->e:Ljava/lang/String;

    goto :goto_2

    :cond_4
    const/4 v0, 0x0

    goto :goto_0
.end method

.method public b()I
    .locals 2

    iget v0, p0, Lcom/waiqin365/lightapp/a/b;->c:I

    invoke-static {v0}, Ljava/lang/Math;->abs(I)I

    move-result v0

    iget v1, p0, Lcom/waiqin365/lightapp/a/b;->b:I

    invoke-static {v1}, Ljava/lang/Math;->abs(I)I

    move-result v1

    invoke-static {v0, v1}, Ljava/lang/Math;->max(II)I

    move-result v0

    invoke-static {v0}, Ljava/lang/Integer;->toString(I)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/String;->length()I

    move-result v0

    iget v1, p0, Lcom/waiqin365/lightapp/a/b;->b:I

    if-gez v1, :cond_0

    add-int/lit8 v0, v0, 0x1

    :cond_0
    return v0
.end method

.method public c()Ljava/lang/String;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/a/b;->e:Ljava/lang/String;

    return-object v0
.end method
